package com.chinamobile.iot.handler.model;

/**
 * redis2 value information
 * key: #global-sub, Redis2
 * in order to reduce the data size, the field name is only one character
 * Created by szl on 2017/7/26.
 */
public class RedisBrokerSessionSub {
    /**
     * the filter of this subscription
     */
    private String f;
    /**
     * the qos of this subscription
     */
    private int q;
    /**
     * the clientId of this subscription
     */
    private String c;
    /**
     * the broker of the client. if the client is disconnected, this field is null
     */
    private String b;

    public String getF() {
        return f;
    }

    public void setF(String f) {
        this.f = f;
    }

    public int getQ() {
        return q;
    }

    public void setQ(int q) {
        this.q = q;
    }

    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }
}
